set Text List Style
abstract fun setTextListStyle(block: DesignBlock, listStyle: ListStyle, paragraphIndex: Int = -1, listLevel: Int? = null)
Sets the list style for a specific paragraph or all paragraphs of a text block. Required scope: "text/character"
Parameters
block
the text block whose list style should be changed.
list Style
the list style to apply.
paragraph Index
the 0-based index of the paragraph to modify. Negative values apply to all paragraphs.
list Level
optional list nesting level to set atomically with the list style (0 = outermost). When null the existing list level of each paragraph is preserved. Has no visual effect when listStyle is ListStyle.None.